


<?php 
$items=array(
          array('label'=>'个人资料', 'url'=>array('/setting/index')),
          array('label'=>'修改密码', 'url'=>array('/setting/changePasswd')),
          array('label'=>'个性域名', 'url'=>array('/setting/customizeDomain')),
          array('label'=>'帐号绑定', 'url'=>array('/setting/account')),
        );

       if(!isset(Yii::app ()->user->me->email)){
        array_push($items,array('label'=>'完善微博账号', 'url'=>array('/setting/wbregister'))); 
       }
$this->data['panel1'] = $this->widget('zii.widgets.CMenu',array(
				'items'=>$items,
				'htmlOptions'=>array('class'=>'menu')
			),true); 

			?>
<style>
<!--

div#panel .right-sharp{
	width:590px;
}
div#panel .middle-sharp{
	width:210px;
}
div#panel #panel-menu {
	width:170px;
}

div#panel .assist-sharp{
	width:210px;
	
}

#panel-slider ul.menu { 
	font-size:12px;
    clear: both;
    display: block ;
}
#panel-slider  ul.menu li {
    display: block ;
    margin-right: 10px;
	padding-top:10px;
}
#panel-slider  ul.menu li  a{
    padding: 0 10px;	
    display: block ; 

	width: 80px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background:#ffffff url("<?php echo Yii::app()->baseUrl?>/images/but-1.png");
    border: 1px solid #BBBBBB;
    color: #6E6E6E;
    cursor: pointer;
    font-size: 100%;
    font-weight: 700;
    height: 30px;
    line-height: 30px; 
    text-decoration: none; 
}

#panel-slider  ul.menu li a:hover {
    background: #5D8325 url("<?php echo Yii::app()->baseUrl?>/images/but-2.png");
    border: 1px solid #5D8325;
    color: #FFFFFF;
    cursor: pointer; 
}
-->
</style>

<?php $this->beginContent('application.views.layouts.home'); ?>
				<?php echo $content; ?>
<?php $this->endContent(); ?>